home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / Libraries / Errors / QuickDrawError.h < prev    next >
Text File  |  1997-06-28  |  386b  |  24 lines

  1. // QuickDrawError.h
  2.  
  3. #ifndef QuickDrawError_h
  4. #define QuickDrawError_h
  5.  
  6. #ifndef OSError_h
  7. #include "OSError.h"
  8. #endif
  9.  
  10. class QuickDrawError: public OSError
  11.   {
  12.     public:
  13.         QuickDrawError()                        : OSError()        {}
  14.         QuickDrawError( OSErr e )            : OSError( e )    {}
  15.         QuickDrawError( OSError& e )        : OSError( e )    {}
  16.         
  17.         static QuickDrawError Check()
  18.           {
  19.             return QDErr();
  20.           }
  21.   };
  22.  
  23. #endif
  24.